//=======================================================================================
// Box.h by Frank Luna (C) 2008 All Rights Reserved.
//=======================================================================================

#ifndef BOX_H
#define BOX_H

#include "Game Engine/Header/d3dUtil.h"
#include "Game Engine/Header/Vertex.h"

class Box
{
public:

	Box();
	~Box();

	void init( ID3D10Device* device, D3DXVECTOR3 size = D3DXVECTOR3( 1.0f, 1.0f, 1.0f ),
		float scale = 1.0f );
	void draw();

	std::vector<Vertex> GetVertices();
	std::vector<DWORD>	GetIndices();

	DWORD mNumVertices;
	DWORD mNumFaces;

private:
 	std::vector<Vertex> mVertices;
	std::vector<DWORD> mIndices;

	ID3D10Device* md3dDevice;
	ID3D10Buffer* mVB;
	ID3D10Buffer* mIB;
};

#endif // BOX_H